Data-driven control system